package com.teach.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.teach.entity.Report;

public interface ReportMapper {
    int deleteByPrimaryKey(Long reportId);

    int insert(Report record);

    int insertSelective(Report record);

    Report selectByPrimaryKey(Long reportId);

    int updateByPrimaryKeySelective(Report record);

    int updateByPrimaryKey(Report record);
    @Select("select * from report where report_handle=0 order by report_time desc")
    List<Report> select();
}